var t = new Date().getTime(); //获取时间戳
var signature = hex_md5("appkey=ed4e578288af30af5ff75d73&timestamp=" + t + "&random_str=022cd9fd995849b58b3ef0e943421ed9&key=964655ee084a3a9b2baf077a")

//初始化函数
function init() {
	JIM.init({
		"appkey": "ed4e578288af30af5ff75d73",
		"random_str": "022cd9fd995849b58b3ef0e943421ed9",
		"signature": signature,
		"timestamp": t,
	}).onSuccess(function(data) {
		//do something
		console.log("初始化成功")
	}).onFail(function(data) {
		// do something
		console.log("初始化失败")
	});
}